package com.upcode.weighing.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.upcode.weighing.domain.SysLogs;
import com.upcode.weighing.domain.SysOptLog;
import com.upcode.weighing.vo.log.SysLogsPageListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 日志信息表 Mapper 接口
 * </p>
 *
 * @author alex
 * @since 2019-04-10
 */
@Mapper
public interface SysOptLogMapper extends BaseMapper<SysOptLog> {
    //添加记录
    int addSysLogs(SysOptLog logs);
    //日志分页列表
    IPage<SysLogsPageListVo> selectPageList(@Param("page") Page<SysLogsPageListVo> pageInfo, @Param("vo") SysLogsPageListVo params);
}
